<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page import="com.centriole.common.component.ContextUtils"%>
<% 
	String context = ContextUtils.workflowPrefix();
%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>首页</title>
		<style type="text/css">
			*{margin: 0;padding:0;}
			html,body{height: 100%;}
			#leftMenu{border:1px solid #000000;list-style: none;height: 99.5%;float:left;min-width:15%;}
			#leftMenu li{line-height: 30px;padding:0 20px;cursor: pointer;}
			#leftMenu li:hover{background:#ccc;}
			iframe{height: 99.5%;min-width:84%;width:84%;float:right;}
		</style>
	</head>
	
	<body>
		<ul id="leftMenu">
		<!--  
			<li data-href="<%=context%>/html/button.jsp">button按钮</li>
			<li data-href="<%=context%>/html/textinput.jsp">input输入框</li>
			<li data-href="<%=context%>/html/alert.jsp">alert提示框</li>
			<li data-href="<%=context%>/html/dialog.jsp">dialog</li>
			<li data-href="<%=context%>/html/roll.jsp">roll图片轮播</li>
			<li data-href="<%=context%>/html/deserialize.jsp">数据回现封装</li>
			<li data-href="<%=context%>/html/validation.jsp">数据验证</li>
		
			<li data-href="<%=context%>/perms/main">权限管理</li>
			<li data-href="<%=context%>/role/main">角色管理</li>
			<li data-href="<%=context%>/user/main">用户管理</li>
				-->
			<li data-href="<%=context%>/flow/toFlowList">流程管理</li>
			<li data-href="<%=context%>/flow/processParameter/list">流程参数</li>
			<li data-href="<%=context%>/flow/function/list">流程方法管理</li>
			<li data-href="<%=context%>/flow/workPage/list">操作页面管理</li>
			<li data-href="<%=context%>/flow/task/toStartFlow">发起流程</li>
			<li data-href="<%=context%>/flow/task/toTaskList">待办任务</li>
			<li data-href="<%=context%>/flow/task/toTaskMyHistory">我的流程（已办理）</li>
			<li data-href="<%=context%>/flow/task/toTaskMyProcess">我的流程（办理中）</li>
			<li data-href="<%=context%>/flow/task/toTaskDealList">已办列表</li>
		</ul>
		<iframe src=""></iframe>
	</body>
	
	<script src="<%=context%>/microcore/jquery-2.1.0.min.js"></script>
	<script>
		$(function(){
			$("#leftMenu li").click(function(){
				var href = $(this).attr("data-href");
				$("iframe").attr("src",href);
			});
		});
	</script>
</html>
